/*
 * EmployeeTest.java
 *
 * This program demonstrates the use of abstract classes and interfaces
 * using the classes Employee and WageEmployee.
 *
 * 
 */

package com.javacore.day6.maxsoft3;

/**
 * EmployeeTest class contains the main method.
 * @author 
 */
public class EmployeeTest {
    
    /**
     * Creates a new instance of EmployeeTest.
     */
    public EmployeeTest() {
    }
    
    /**
     * This is the entry point of the application.
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        
        // Creates an object of SalaryEmployee, John
        Employee objJohn = new SalaryEmployee("John", 2300.50);
        
        // Creates an object of WageEmployee, David
        Employee objDavid = new WageEmployee("David", 34.50, 11);
        
        // Display the details of employee, John
        objJohn.displayDetails();
        
        // Display the details of employee, David
        objDavid.displayDetails();
    }
}
